
package com.zs.pig.blog;
import java.util.Date;
import java.util.UUID;

import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.core.util.UuidUtil;




public class Test {
	static Logger logger = LogManager.getLogger(Test.class.getName());
public static void main(String[] args) throws InterruptedException {
	
//	logger12.debug("dqq");
//	logger12.info("infoqqq3121");
//	
//	logger12.error("eqq");
//	logger12.warn("wqqq");
	for(int i=0;i<10;i++){
		String uid1=UuidUtil.getTimeBasedUuid().toString();
		String uid2=UuidUtil.getTimeBasedUuid().toString();
		logger.log(Level.forName("DIAG", 350), "调用blog模块  - delete方法 - "+1);
		String uid3="26af2593-fd5c-11e6-afc2-204747756de9";
		//logger.info("blog模块 - save - ");
		//logger.log(Level.forName("DIAG", 350), "a diagnostic message");
		//logger12.info(uid1+" - "+uid3+" - 3 - INFO - 2017:10:11 09:57:41.254 - 12-4B-00-0D-BB-64-72/10.2.10.28 - android:1029/default - DeviceController/report/start - {\"sn\":\"042h-dfEv\",\"order\":1,\"apiKey\":\"d3ec610c*3160*49f9*9ef9*1f7f87fdca6c\",\"deviceSn\":\"00-12-4B-00-0D-BB-64-72\"}");
		//logger12.error(uid1+" - "+uid3+" - 3 - INFO - 2017:10:11 09:57:41.254 - 12-4B-00-0D-BB-64-72/10.2.10.28 - android:1029/default - DeviceController/report/start - {\"sn\":\"042h-dfEv\",\"order\":1,\"apiKey\":\"d3ec610c*3160*49f9*9ef9*1f7f87fdca6c\",\"deviceSn\":\"00-12-4B-00-0D-BB-64-72\"}");
	//	Thread.sleep(1000);
	//	logger12.error(uid2+" - "+uid3+" - 4 - INFO - 2017:10:11 09:57:41.254 - 12-4B-00-0D-BB-64-72/10.2.10.10 - webserver:0001 - DeviceController/report/start - {\"sn\":\"042h-dfEv\",\"order\":2,\"apiKey\":\"d3ec610c*3160*49f9*9ef9*1f7f87fdca6c\",\"jsonArray\":[{\"metaData\":\"0D00\",\"sensorSn\":\"0104C00000\"}],\"deviceSn\":\"00-12-4B-00-0DBB-64-72\"}");
	}
}
}
